package org.jackysoft.struts2;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.struts2.convention.annotation.Namespace;
import org.jackysoft.entity.User;


@Namespace("/")
public class LoginAction extends UtilsCRUDAction<User>  {

	private   final static long serialVersionUID = -7589172516523932067L;
    protected final static Log log = LogFactory.getLog(LoginAction.class);
	
	public String execute() throws Exception {	
		super.execute();
		return "success";		
	}
	
	public String index() throws Exception {
		log.info(myContext.getLastUri());
		return "index";		
	}	
}